package net.melon.uploader.service.impl;

import java.io.File;
import java.util.Random;

public class RandomFileNameRule extends AbstractFileNameRule{

	@Override
	public String getFileName(File file,String filename, Object... args) {
		Random random = new Random();
		return "" + random.nextInt(10000)
				+ System.currentTimeMillis() + getFileExt(filename);
	}

}
